<h2><fa-icon [icon]="'wrench'"></fa-icon>
    <ng-container *ngIf="provider === 'github'"><span>GitHub配置</span></ng-container>
    <ng-container *ngIf="provider === 'gitlab'"><span>GitLab配置</span></ng-container>
</h2>

<div>
    <i>
        微服务代码模版可以使用<a routerLink="/generate-application">在线应用程序生成器</a>为您创建新的代码仓库。
        您可以随时在您的
        <ng-container *ngIf="provider === 'github'"><a href="{{gitConfig.githubHost}}/settings/applications">GitHub</a></ng-container>
        <ng-container *ngIf="provider === 'gitlab'"><a href="{{gitConfig.gitlabHost}}/profile/applications">GitLab</a></ng-container>
        设置中撤销此访问权限。
    </i>
</div>

<p>
    &nbsp;
</p>

<div class="alert alert-{{alertType}}">
    <span *ngIf="isLoading">
        <fa-icon [icon]="'sync'" [spin]="true"></fa-icon>
    </span>
    {{message}}
</div>
